package com.jswlw.controller.api.resp;

import com.jswlw.common.BaseApiResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@ApiModel(description = "API-保存订单响应对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class SaveOrderResponse extends BaseApiResponse {

    OrderSn data;

    @Data
    @Builder
    public static class OrderSn {
        @ApiModelProperty(value = "订单编号", required = true, example = "123")
        String sn;
    }
}
